package com.lovo.practice_7_11;

/**
 * 扑克牌类
 */
public class Card {
    private String point;
    private String type;
    private int number;

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public Card() {
    }

    public Card(String point, String type) {
        this.point = point;
        this.type = type;
    }

    public Card(String point, String type, int number) {
        this.point = point;
        this.type = type;
        this.number = number;
    }

    @Override
    public String toString() {
        return type + point;
    }

    public String getPoint() {
        return point;
    }

    public String getType() {
        return type;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public void setType(String type) {
        this.type = type;
    }

}
